package com.xpsoft.oa.model.admin;


import java.util.HashSet;
import java.util.Set;

import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.FileAttach;

/**
 * AdminArticleSend Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class AdminArticleSend extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected String title;
	@Expose
	protected String artileNo;
	@Expose
	protected String keyword;
	@Expose
	protected String abstractions;
	@Expose
	protected Long processRunId;
	@Expose
	protected Set<FileAttach> fileAttachs = new HashSet<FileAttach>();

	/**
	 * Default Empty Constructor for class AdminArticleSend
	 */
	public AdminArticleSend () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class AdminArticleSend
	 */
	public AdminArticleSend (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	

	/**
	 * 标题	 * @return String
	 * @hibernate.property column="title" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getTitle() {
		return this.title;
	}
	
	/**
	 * Set the title
	 */	
	public void setTitle(String aValue) {
		this.title = aValue;
	}	

	/**
	 * 文号	 * @return String
	 * @hibernate.property column="artileNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getArtileNo() {
		return this.artileNo;
	}
	
	public Set<FileAttach> getFileAttachs() {
		return fileAttachs;
	}

	public void setFileAttachs(Set<FileAttach> fileAttachs) {
		this.fileAttachs = fileAttachs;
	}

	/**
	 * Set the artileNo
	 */	
	public void setArtileNo(String aValue) {
		this.artileNo = aValue;
	}	

	/**
	 * 关键字	 * @return String
	 * @hibernate.property column="keyword" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getKeyword() {
		return this.keyword;
	}
	
	/**
	 * Set the keyword
	 */	
	public void setKeyword(String aValue) {
		this.keyword = aValue;
	}	

	/**
	 * 概要	 * @return String
	 * @hibernate.property column="abstractions" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getAbstractions() {
		return this.abstractions;
	}
	
	/**
	 * Set the abstractions
	 */	
	public void setAbstractions(String aValue) {
		this.abstractions = aValue;
	}	

	/**
	 * 	 * @return Long
	 * @hibernate.property column="processRunId" type="java.lang.Long" length="19" not-null="false" unique="false"
	 */
	public Long getProcessRunId() {
		return this.processRunId;
	}
	
	/**
	 * Set the processRunId
	 */	
	public void setProcessRunId(Long aValue) {
		this.processRunId = aValue;
	}	

}
